#pragma once

#ifndef YETIFLEESTATE_H
#define YETIFLEESTATE_H

#include "State.h"
#include "Flee.h"
#include "YetiEnemy.h"


class YetiFleeState : public State<YetiEnemy>
{
private:
	Flee flee;
public:
	YetiFleeState(Entity* enemy, Entity* player, float maxSpeed)
		: flee(enemy, player, maxSpeed) { }
	virtual ~YetiFleeState() { }
	virtual void update(YetiEnemy* owner, float frameTime);
};

#endif